StellarPay\AdminDashboard\RestApi\SubscriptionsListPage A

Total Complexity 54
Dependencies 22
Dependents 1
Total lines 554
Lines of code 372
Logical lines of code 156
Comment lines 71
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
cancelSubscription()
A
40 11 65
prepareSubscriptionData()
A
42 7 50
updateExistingPaymentMethod()
S
47 6 38
getRecurringPeriod()
S
54 6 22
getRoutes()
S
41 1 80
addNewPaymentMethod()
S
48 4 34
validateAndGetSubscription()
S
62 4 11
getPaymentMethods()
S
54 3 21
getSubscriptionListPage()
S
56 3 19
permissionCheck()
S
78 2 3
getSingleSubscription()
S
67 2 8
prepareSubscriptionDataById()
S
69 2 7
__construct()
S
77 1 4
processRequest()
S
68 1 7
getPerPageLimit()
S
79 1 3